package com.ruoyi.comparison.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 裁判文书信息业务对象 task_judge
 *
 * @author ruoyi
 * @date 2023-11-17
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TaskJudgeBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;
    private String searchKey;
    /**
     * 文书标题
     */
    @NotBlank(message = "文书标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String caseName;

    /**
     * 案由
     */
    @NotBlank(message = "案由不能为空", groups = { AddGroup.class, EditGroup.class })
    private String caseReason;

    /**
     * 案号
     */
    @NotBlank(message = "案号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String caseNo;

    /**
     * 案件类型(ms:民事 xs:刑事 xz:行政 pc:赔偿 zx:执行 gx: 管辖案件 gsx：国际司法协助案件 qsx：区际司法协助案件 other：其他)
     */
    @NotBlank(message = "案件类型(ms:民事 xs:刑事 xz:行政 pc:赔偿 zx:执行 gx: 管辖案件 gsx：国际司法协助案件 qsx：区际司法协助案件 other：其他)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String caseType;

    /**
     * 案件金额（元）
     */
    @NotBlank(message = "案件金额（元）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String amount;

    /**
     * 是否原告，true或false
     */
    @NotBlank(message = "是否原告，true或false不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isProsecutor;

    /**
     * 是否被告，true或false
     */
    @NotBlank(message = "是否被告，true或false不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isDefendant;

    /**
     * 裁判结果
     */
    @NotBlank(message = "裁判结果不能为空", groups = { AddGroup.class, EditGroup.class })
    private String judgeResult;

    /**
     * 裁判日期
     */
    @NotBlank(message = "裁判日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String judgeDate;

    /**
     * 发布日期
     */
    @NotBlank(message = "发布日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String publishDate;


}
